﻿<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
require_once APPPATH."third_party/Smarty-3.1.14/libs/Smarty.class.php";


class CI_Smarty extends Smarty
 {

    public function CI_Smarty() 
    {      
        parent::__construct($this);
        $this->left_delimiter = '{';
        $this->right_delimiter = '}';            
        $this->template_dir = 'application/views/';
        $this->compile_dir = 'smarty/templates_c/';
        $this->config_dir = 'smarty/configs/';
        $this->cache_dir = 'smarty/cache/'; 
    }
    public function test()
    {
        return 'test';
    }

}